package com.dks.mapper;

import com.dks.dto.publicCompoment.PublicCommentReplyUserDto;
import com.dks.models.publicCompoment.PublicCommentReply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PublicCommentReplyMapper{

    Integer insert(PublicCommentReply publicCommentReply);

    Integer delete(@Param("id")long id,  @Param("userId")long userId);

    List<PublicCommentReplyUserDto> selectByCommentId(@Param("commentId")long commentId);

    PublicCommentReply select(@Param("id")Long id);
}
